﻿<Window x:Class="WpfHardCodedStringsFinder.Views.ResXSelectionWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ResX selection" Height="150" Width="300">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="28"/>
			<RowDefinition/>
		</Grid.RowDefinitions>
		<ComboBox ItemsSource="{Binding ResourcesX}" Grid.Row="0" 
				  DataContext="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}" 
				  SelectedIndex="0" SelectedItem="{Binding SelectedResource,Mode=TwoWay}"/>
		<Button x:Name="btnSelect" Click="btnSelect_Click" Content="Proceed" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center" Height="23"
				Width="70"/>
	</Grid>
</Window>
